package com.wdy.adapter;

/**
 * @ClassName: Captain
 * @Description: TODO
 * @Date: 2019/12/30 14:44
 * @Author: wangdy001
 * @Version: 1.0
 */
public class Captain {
    //Captain船长
    private RowingBoat rowingBoat;//划艇

    public Captain(RowingBoat rowingBoat) {
        this.rowingBoat = rowingBoat;
    }

    public RowingBoat getRowingBoat() {
        return rowingBoat;
    }

    public void setRowingBoat(RowingBoat rowingBoat) {
        this.rowingBoat = rowingBoat;
    }

    public void row(){
        this.rowingBoat.row();
    }

}
